package com.example.teacher.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.domain.pojo.Classes;
import com.example.common.domain.pojo.Student;
import com.example.common.domain.pojo.Teacher;

import java.util.List;

public interface ClassesService extends IService<Classes> {

    // 根据id查询班级
    Classes getClassesById(String id);

    // 根据id查询班级
    List<Classes> getClassesByIds(List<String> ids);

    List<Student> getStudentsByClassId(String classId);

    List<Teacher> getTeachersByClassId(String classId);


}
